/**
 * 
 */
package com.google.code.pos.domain;

/**
 * @author jimmy
 *
 */
public class Item {

    private Long id;
    private String name;
    private String unit;
    private Double price;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "Item{" + "id=" + id + "name=" + name + "unit=" + unit + "price=" + price + '}';
    }

}
